﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace wStore.Model
{
  public static class ObservableCollectionExtend
  {
    public static void AddRange<TSource>(this ObservableCollection<TSource> source, IEnumerable<TSource> items)
    {
      foreach (var item in items)
      {
        source.Add(item);
      }
    }
  }
}
